package net.oxygen.upload.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 文件秒传请求对象
 * <p>
 * 用于秒传功能的请求参数封装，仅包含文件标识和名称
 * </p>
 *
 * @author chenweiwei
 * @version 1.0
 * @since 2023-03-24
 */
@Data
@Schema(name = "FileSecondUploadReq", description = "文件秒传请求")
public class FileSecondUploadReq {

    /**
     * 文件名称
     */
    @Schema(description = "文件名称", required = true, example = "测试文档.pdf")
    private String fileName;

    /**
     * 文件md5值
     */
    @Schema(description = "文件唯一标识（MD5值）", required = true, example = "e12a43fd9e24f6dc325aeb7202dd9e3c")
    private String identifier;
}
